﻿@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <title>EvidenceBillDetailView</title>
    @Html.Partial("_JsCommon")
    <script src="/Scripts/Case/EvidenceBill.js" type="text/javascript"></script>
</head>
<body style="overflow:hidden;">
    <div id="evidenceDiv">
      <p style="width:100%; text-align:center; height:18px;">
            <label style="font-size:16pt; border-bottom:1px solid">物品记录单</label>
        </p>
        <p style="margin-top: -2px; margin-bottom: 0px">
            <a id="btnSaveEvidenceBill" href="javascript:void(0);" class="easyui-linkbutton" iconcls="icon-save" plain="true" onclick="saveEvidenceBillAction()">保存</a>
            <a id="btnCheckBill" href="javascript:void(0);" class="easyui-linkbutton" iconcls="icon-shuffle" plain="true" onclick="checkBillAction()">审核并提交</a>
            @*<a id="btbPrintBill" href="javascript:void(0);" class="easyui-linkbutton" iconcls="icon-print" plain="true" onclick="printBillAction()">打印单据</a>*@
            <a id="btnAttachment" href="javascript:void(0);" class="easyui-linkbutton" iconcls="icon-outbox" plain="true" onclick="attachmentAction()">附件</a>
            <a id="btnExit" href="javascript:void(0);" class="easyui-linkbutton" iconcls="icon-no" plain="true" onclick="exit()">退出</a>
        </p>
        <div class="easyui-tabs" data-options="tabWidth:120" style="width: 800px; height: 300px; border-left:1px solid #D4D4D4;  border-right:1px solid #D4D4D4">
            <div title="基本信息" id="divEvidenceBase" data-options="tabWidth:115" style="padding: 3px">
                <table style="width:100%">
                    <tr>

                        <td style="width:100px;text-align:right">
                            <label>案件编号:</label>
                        </td>
                        <td style="width:130px;text-align:right">
                            <input id="txtNumber" class="easyui-validatebox" data-options="required:false" />
                        </td>
                        <td style="width:100px;text-align:right" >
                            <label>案件类型:</label>
                        </td>
                        <td style="width:130px;text-align:right">
                            <input id="cmbCaseCategory" class="easyui-combobox" />
                        </td>

                        <td style="width:100px;text-align:right" >
                            <label>单据编号:</label>
                        </td>
                        <td style="width:130px;text-align:right">
                            <input id="txtSerialNo" class="easyui-validatebox" data-options="required:false" disabled="disabled"/>
                        </td>

                    </tr>

                    <tr>
                        <td style="text-align:right">
                            <label>办案单位:</label>
                        </td>
                        <td >
                            <input id="cmbTransferDept" class="easyui-combobox" />
                        </td>
                        <td style="text-align:right">
                            <label>办案人:</label>
                        </td>
                        <td style="text-align:right">
                            <input id="txtTransferName" class=" easyui-validatebox" data-options="required:false" />
                        </td>
                        <td style="text-align:right">
                            <label>联系电话:</label>
                        </td>
                        <td style="text-align:right">
                            <input id="txtTransferPhone" class="easyui-validatebox" data-options="required:false" />
                        </td>
                    </tr>
                    <tr>
                        <td style="text-align:right">
                            <label>保管部门:</label>
                        </td>
                        <td style="text-align:right">
                            <input id="cmbManageDept" class="easyui-combobox"  />
                        </td>
@*                        <td style="text-align:right">
                            <label hidden="hidden">提交时期:</label>
                        </td>
                        <td style="text-align:right">
                            <input id="dteBillTime" class="easyui-datetimebox"  hidden="hidden"  />
                        </td>*@
                    </tr>
                    <tr>
                        <td style="text-align:right"><label>备注说明:</label></td>
                        <td colspan="5"><textarea id="txtDescription" rows="2" style="width:99%" cols="5"></textarea></td>
                    </tr>
                </table>
                
                <div>
                    <div id="detailDataGrid" ></div>
                </div>

                <div id="evidenceToolBar" style="height:30px">
                    <p style="float: left; margin-top:-1px">
                        <a id="btnAddEvidence" href="javascript:void(0);" class="easyui-linkbutton" iconcls="icon-add" plain="true" onclick="addEvidenceAction()">添加物品</a>
                        <a id="btnEditEvidence" href="javascript:void(0);" class="easyui-linkbutton" iconcls="icon-showdetail" plain="true" onclick="editEvidenceAction()">查看物品</a>
                        <a id="btnDelEvidence" href="javascript:void(0);" class="easyui-linkbutton" iconcls="icon-cancel" plain="true" onclick="delEvidenceAction()">删除物品</a>
                    </p>
                </div>

            </div>


            <div title="出/入库信息" data-options="tabWidth:110" style="padding: 10px">
                <div id="stockBillDataGrid">
                </div>
            </div>

            <div title="在库信息" data-options="tabWidth:110" style="padding: 10px">
                <div id="storageEvidenceGrid">
                </div>
            </div>
            
        </div>
        <table style="width:100%; font-size:12px">
                <tr>
                    <td style="text-align:right">
                        <label>制单部门:</label>
                    </td>
                    <td style="text-align:right">
                        <input id="txtDepartment" class="easyui-validatebox" disabled="disabled"  />
                    </td>
                    <td style="text-align:right">
                        <label>制单人:</label>
                    </td>
                    <td style="text-align:right">
                        <input id="txtPreparer" class="easyui-validatebox"  disabled="disabled"/>
                    </td>
                    <td style="text-align:right">
                        <label>制单时间:</label>
                    </td>
                    <td style="text-align:right">
                        <input id="txtBillTime" class="easyui-validatebox" disabled="disabled" />
                    </td>
                </tr>

                <tr>
                    <td style="text-align:right">
                        <label>审核部门:</label>
                    </td>
                    <td style="text-align:right">
                        <input id="txtCheckDept" class="easyui-validatebox" disabled="disabled"  />
                    </td>
                    <td style="text-align:right">
                        <label>审核人:</label>
                    </td>
                    <td style="text-align:right">
                        <input id="txtChecker" class="easyui-validatebox"  disabled="disabled"/>
                    </td>
                    <td style="text-align:right">
                        <label>审核时间:</label>
                    </td>
                    <td style="text-align:right">
                        <input id="txtCheckTime" class="easyui-validatebox" disabled="disabled" />
                    </td>
                </tr>

        </table>
    </div>
</body>
</html>
